// import {  } from './common'

// switch
export const switchProperties = [
    {
        model: 'ui.width',
        widget: 'inputNumber',
        label: '宽度',
        ui: {
            placeholder: '单位(px)',
            min: 0,
            max: 99999999,
            precision: 0,
            controlsPosition: 'right',
            style: {
                width: '100%'
            }
        }
    },
    {
        model: 'ui.activeText',
        widget: 'input',
        label: '打开时的文字描述',
        ui: {
            placeholder: '打开时的文字描述',
            maxlength: 100,
            style: {
                width: '100%'
            }
        }
    },
    {
        model: 'ui.inactiveText',
        widget: 'input',
        label: '关闭时的文字描述',
        ui: {
            placeholder: '关闭时的文字描述',
            maxlength: 100,
            style: {
                width: '100%'
            }
        }
    },
    {
        model: 'ui.activeColor',
        widget: 'colorPicker',
        label: '打开时的背景颜色',
        enum: ['#409EFF', '#67C23A', '#E6A23C', '#F56C6C', '#909399', '#303133']
    },
    {
        model: 'ui.inactiveColor',
        widget: 'colorPicker',
        label: '关闭时的背景颜色',
        enum: ['#409EFF', '#67C23A', '#E6A23C', '#F56C6C', '#909399', '#303133']
    }
]
